package com.slz3.business.module.wmsManagement.wmsPurchaseOrderSelf.service;

import com.slz3.business.module.wmsManagement.wmsPurchaseOrderSelf.domain.WmsPurchaseOrderSelf;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;

/**
 * 非事务型 service
 */
public interface WmsPurchaseOrderSelfService {

    WmsPurchaseOrderSelf save(WmsPurchaseOrderSelf wmsPurchaseOrderSelf);

    Page<WmsPurchaseOrderSelf> page(MultiValueMap<String, String> queryParams);

    WmsPurchaseOrderSelf modify(WmsPurchaseOrderSelf wmsPurchaseOrderSelf);

    Optional<WmsPurchaseOrderSelf> single(UUID uuid);

    List<WmsPurchaseOrderSelf> findAllByUuids(Iterable<UUID> uuids);

    List<WmsPurchaseOrderSelf> delete(List<WmsPurchaseOrderSelf> wmsPurchaseOrderSelfList);

    WmsPurchaseOrderSelf getWmsOrderInfo(UUID uuid);
}
